import org.jianfa.learn.work.ZuoFan;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class Application {

    public static void main(String[] args) {
        ApplicationContext applicationContext = new ClassPathXmlApplicationContext("application.xml");
        ZuoFan zuoFan = applicationContext.getBean(ZuoFan.class);
        zuoFan.zuo();
    }
}
